package com.chenglu.android.orderinfo;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import com.chenglu.android.order.bean.OrderInfoBean;

/**
 * @author: lyj
 * @Created: by Copyright 2023/11/1 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 * @Description：
 */
public class OrderInfoUtils {

    public static void jumpOrderInfoActivity(Context mContext, OrderInfoBean.Data.Records item) {
        Intent intent = new Intent(mContext, OrderInfoActivity.class);
        Bundle bundle = new Bundle();
        bundle.putSerializable(OrderInfoActivity.GOODSRECORDS, item);
        intent.putExtra(OrderInfoActivity.ORDERID, item.getId());
        intent.putExtra(OrderInfoActivity.ORDERNO, item.getOrderNo());
        intent.putExtra(OrderInfoActivity.SHOPSTYPEID, item.getShopsTypeId());
        intent.putExtras(bundle);
        mContext.startActivity(intent);
    }


}
